﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Ext.Master" AutoEventWireup="true"
    CodeBehind="Tab.aspx.cs" Inherits="MVCnExt.Views.Shared.Tab" %>

<%@ Register Assembly="MVCnExt.Web.UI.Ext" Namespace="MVCnExt.Web.UI.Ext" TagPrefix="mvc" %>
<asp:Content ID="manualContent" ContentPlaceHolderID="MainContent" runat="server">
    <mvc:ExtWindow ID="borderLayout" Height="200" Width="300" title="Tab Panel Example"
        runat="server">
        <items>
            <mvc:ExtTabPanel ID="ExtCenter" border="false" activeTab="1" deferredRender="false"
                runat="server">
                <defaults>
                    <mvc:ConfigItem name="bodyStyle" value="padding:5px" />
                </defaults>
                <items>
                    <mvc:ExtPanel ID="Tab1" title="Tab 1" Height="140" runat="server">
                        <html>
                            Tab 1
                        </html>
                    </mvc:ExtPanel>
                    <mvc:ExtPanel ID="ExtPanel1" title="Tab 2" Height="140" runat="server">
                        <html>
                            Tab 2
                        </html>
                    </mvc:ExtPanel>
                </items>
            </mvc:ExtTabPanel>
        </items>
    </mvc:ExtWindow>
     <mvc:ExtOnReady ID="windowOnReady" runat="server">
        <script>
            borderLayout.show();
        </script>
    </mvc:ExtOnReady>
</asp:Content>
